package com.dykj.entity;

public class User {

	private Integer id;
	private String username;
	private String password;
	private String realName;
	private String phone;
	private Byte isEnabled;
	private Integer addTime;
	private Integer securityLevel;
	private Integer isDelete;
	private Integer companyId;

    public void setId(Integer id){
        this.id = id;
    }
    public Integer getId(){
        return this.id;
    }
    public void setUsername(String username){
        this.username = username;
    }
    public String getUsername(){
        return this.username;
    }
    public void setPassword(String password){
        this.password = password;
    }
    public String getPassword(){
        return this.password;
    }
    public void setRealName(String realName){
        this.realName = realName;
    }
    public String getRealName(){
        return this.realName;
    }
    public void setPhone(String phone){
        this.phone = phone;
    }
    public String getPhone(){
        return this.phone;
    }
    public void setStatus(Byte isEnabled){
        this.isEnabled = isEnabled;
    }
    public Byte getStatus(){
        return this.isEnabled;
    }
    public void setAddTime(Integer addTime){
        this.addTime = addTime;
    }
    public Integer getAddTime(){
        return this.addTime;
    }
    public void setSecurityLevel(Integer securityLevel){
        this.securityLevel = securityLevel;
    }
    public Integer getSecurityLevel(){
        return this.securityLevel;
    }
    public void setIsDelete(int isDelete){
        this.isDelete = isDelete;
    }
    public Integer getIsDelete(){
        return this.isDelete;
    }
    public void setCompanyId(Integer companyId){
        this.companyId = companyId;
    }
    public Integer getCompanyId(){
        return this.companyId;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", phone='" + phone + '\'' +
                ", isEnabled=" + isEnabled +
                ", addTime=" + addTime +
                ", securityLevel=" + securityLevel +
                ", isDelete=" + isDelete +
                ", companyId=" + companyId +
                '}';
    }
}